package top.api.timer;




import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import top.api.common.RedisKey;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Component
@Slf4j
public class UpdateNovelLookCountTimer {


    /**
     * 将redis中的文章访问量拷贝到数据库
     * 每隔 5 分钟
     */
//    @Scheduled(cron = "0 0/10 * * * ?")
//    public void updateViewCount(){
//
//    }
}
